home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Demos / Nosferatu / RebootAndRun < prev    next >
Encoding:
Text File  |  2001-07-19  |  938 b   |  32 lines

  1. ; $VER: RebootAndRun for Nosferatu (14.06.2001)
  2. ; written by Roger 'RHz' Håseth
  3.  
  4. RequestChoice >ENV:rcRHz "- Nosferatu -" " Your Amiga will now reboot and *n start the Nosferatu Slide Show. *n PS! All data stored in RAM *n and any unsaved will be lost! " "Continue" " Cancel "
  5. Skip $rcRHz
  6.  
  7. Lab 1
  8. cd >Env:NosferatuPath
  9. Assign Nosferatu: "$NosferatuPath"
  10.   makedir >nil: Ram:DOSDrivers
  11.   Copy >nil: Nosferatu:Zet/BloodRad Nosferatu:Zet/BloodRad.info TO Ram:DOSDrivers
  12.   Assign Devs: Ram: ADD
  13. mount BloodRad:
  14. makedir >nil: BloodRad:S 
  15. cd Sys:
  16. cd >BloodRad:SystemPath
  17. copy >nil: Nosferatu:Zet/Nosferatu.Startup-Sequence to BloodRad:S
  18. copy >nil: Nosferatu:Zet/wbpattern.prefs to BloodRad:
  19. copy >nil: Env:NosferatuPath to BloodRad:
  20. copy >nil: C:Assign C:Execute C:Makedir C:Copy TO BloodRad:
  21.  
  22. cd BloodRad:S
  23. rename >nil: Nosferatu.Startup-Sequence Startup-Sequence
  24.  wait 5
  25.  Nosferatu:Zet/Reboot
  26.  skip END
  27. EndIf
  28.  
  29. Lab 0
  30. UnsetEnv Env:rcRHz
  31. Lab END
  32.